Carbon


StdArc

Header: Quickdraw.h Carbon status: Supported

QuickDraw’s standard low-level function for drawing an arc or a wedge.

void StdArc (
    GrafVerb verb, 
    const Rect *r, 
    SInt16 startAngle, 
    SInt16 arcAngle
);
Parameter descriptions
verb

The action to perform. See “Verb Constants”

r

The rectangle to contain the arc.

startAngle

The beginning angle.

arcAngle

The ending angle.

DISCUSSION

Using the action specified in the verb parameter, the StdArc function draws an arc or wedge of the oval that fits inside the rectangle specified in the r parameter. The arc or wedge is bounded by the radii specified in the startAngle and arcAngle parameters.

You should only call this low-level function from your customized QuickDraw functions.

SPECIAL CONSIDERATIONS

The StdArc function may move or purge memory blocks in the application heap; do not call this function at interrupt time.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)